package dto;

import org.springframework.web.multipart.MultipartFile;

public class BoardDTO {
	private int no;
	private String title;
	private String content;
	private String contentGroup;
	private String writedate;
	private int viewcount;
	private int refamily;
	private int restep;
	private int relevel;
	private String pictureName;
	private String boardMemberId;
	private String companyMemberId;
	private String adminMemberId;
	private MultipartFile upfile;
	
	public BoardDTO() {
		super();
	}

	public BoardDTO(int no, String title, String content, String contentGroup,
			String writedate, int viewcount, int refamily, int restep,
			int relevel, String pictureName, String boardMemberId,
			String companyMemberId, String adminMemberId, MultipartFile upfile) {
		super();
		this.no = no;
		this.title = title;
		this.content = content;
		this.contentGroup = contentGroup;
		this.writedate = writedate;
		this.viewcount = viewcount;
		this.refamily = refamily;
		this.restep = restep;
		this.relevel = relevel;
		this.pictureName = pictureName;
		this.boardMemberId = boardMemberId;
		this.companyMemberId = companyMemberId;
		this.adminMemberId = adminMemberId;
		this.upfile = upfile;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContentGroup() {
		return contentGroup;
	}

	public void setContentGroup(String contentGroup) {
		this.contentGroup = contentGroup;
	}

	public String getWritedate() {
		return writedate;
	}

	public void setWritedate(String writedate) {
		this.writedate = writedate;
	}

	public int getViewcount() {
		return viewcount;
	}

	public void setViewcount(int viewcount) {
		this.viewcount = viewcount;
	}

	public int getRefamily() {
		return refamily;
	}

	public void setRefamily(int refamily) {
		this.refamily = refamily;
	}

	public int getRestep() {
		return restep;
	}

	public void setRestep(int restep) {
		this.restep = restep;
	}

	public int getRelevel() {
		return relevel;
	}

	public void setRelevel(int relevel) {
		this.relevel = relevel;
	}

	public String getPictureName() {
		return pictureName;
	}

	public void setPictureName(String pictureName) {
		this.pictureName = pictureName;
	}

	public String getBoardMemberId() {
		return boardMemberId;
	}

	public void setBoardMemberId(String boardMemberId) {
		this.boardMemberId = boardMemberId;
	}

	public String getCompanyMemberId() {
		return companyMemberId;
	}

	public void setCompanyMemberId(String companyMemberId) {
		this.companyMemberId = companyMemberId;
	}

	public String getAdminMemberId() {
		return adminMemberId;
	}

	public void setAdminMemberId(String adminMemberId) {
		this.adminMemberId = adminMemberId;
	}

	public MultipartFile getUpfile() {
		return upfile;
	}

	public void setUpfile(MultipartFile upfile) {
		this.upfile = upfile;
	}

	@Override
	public String toString() {
		return "BoardDTO [no=" + no + ", title=" + title + ", content="
				+ content + ", contentGroup=" + contentGroup + ", writedate="
				+ writedate + ", viewcount=" + viewcount + ", refamily="
				+ refamily + ", restep=" + restep + ", relevel=" + relevel
				+ ", pictureName=" + pictureName + ", boardMemberId="
				+ boardMemberId + ", companyMemberId=" + companyMemberId
				+ ", adminMemberId=" + adminMemberId + ", upfile=" + upfile
				+ "]";
	}

}
